package entity;

import java.io.Serializable;

public class Cat extends Dog implements Serializable {
    private int age;
    private String catName;

    private String show(int id, String name) {
        System.out.println("------这只猫是：" + name + "，今年" + age + "岁");
        return String.format("+++++我的名字叫：%s,我已经%d岁了", name, age);
    }
}
